#include <iostream>

using namespace std;

#include <iostream>
#include <string>

class Student {
private:
    std::string name;
    std::string studentID;
    std::string className;
    std::string gender;
    int age;
    std::string personality;

public:
    Student(std::string n, std::string id, std::string cls, std::string gen, int a, std::string per)
        : name(n), studentID(id), className(cls), gender(gen), age(a), personality(per) {}


    std::string getName() const {
        return name;
    }

    std::string getStudentID() const {
        return studentID;
    }

    std::string getClassName() const {
        return className;
    }

    std::string getGender() const {
        return gender;
    }

    int getAge() const {
        return age;
    }

    std::string getPersonality() const {
        return personality;
    }

    std::string infoSummary() const {
        return "姓名: " + name + ", 学号: " + studentID + ", 班级: " + className +
               ", 性别: " + gender + ", 年龄: " + std::to_string(age) + ", 性格: " + personality;
    }
};

int main() {
    Student student1("张三", "202301", "母猪产后护理", "男", 20, "油饼");
    Student student2("李四", "202302", "互联网农民工", "女", 21, "幽默");
    Student student3("王五", "202303", "外卖资源管理", "？", 22, "抽象");

    std::cout << student1.infoSummary() << std::endl;
    std::cout << student2.infoSummary() << std::endl;
    std::cout << student3.infoSummary() << std::endl;

    return 0;
}